Api.WriteAxisOutputByte method

Writes a byte into an output of a real or simulated axis.

Namespace: IntervalZero.KINGSTAR.OpcUa.Api

Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.5.0.0

Syntax

C#VB
public KsError WriteAxisOutputByte(
       int Index,
       int ByteOffset,
       byte Value
)
Public Function WriteAxisOutputByte(
       Index As Integer,
       ByteOffset As Integer,
       Value As Byte
) As KsError

Parameters

Index

Type: int

The index of an axis. Indexes are zero based. Aliases affect this parameter.

 

ByteOffset

Type: int

Specifies a byte offset to the location to write a byte value. The max offset is determined by OutputLength in the SlaveStatus class.

 

Value

Type: byte

A byte value to write.

Return value

Type: KsError

A return code of a method.

Remarks

WriteAxisOutputByte can only be called once a link is established and started.

Usable EtherCAT states

ecatOP

Examples

C#
N/A

See also

Api Class

IntervalZero.KINGSTAR.OpcUa.Api Namespace